]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
windowCycler: Create settings before chaining up
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 16 Mar 2019 22:22:29 +0000 (23:22 +0100)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Mon, 18 Mar 2019 09:48:02 +0000 (09:48 +0000)
It's used in _getWindows() which is called from the parent's _init().

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1064

js/ui/altTab.js

index cdd5d8e21970123e8e41e0a684e94fb744a82f67..fb9c875c81d0ccf105572873561a5be893b1fb61 100644 (file)
@@ -619,9 +619,8 @@ class WindowSwitcherPopup extends SwitcherPopup.SwitcherPopup {
 var WindowCyclerPopup = GObject.registerClass(
 class WindowCyclerPopup extends CyclerPopup {
     _init() {
-        super._init();
-
         this._settings = new Gio.Settings({ schema_id: 'org.gnome.shell.window-switcher' });
+        super._init();
     }
 
     _getWindows() {